//  response type
export type ResponseType<T> = {
  code: string
  msg: string
  result: T
  data: Record<string, any>[]
}

// login type
export interface LoginType {
  code: string
  encryptedData: string
  iv: string
  sessionCode: string
}
export interface UserInfoType {
  name: string
  phone: number
}
export interface ResLoginType {
  userInfo: UserInfoType
}
